package com.frejoys.common.vo.admin;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品上架审核信息
 */
@Data
public class AdminVerifyGoodsListVo  extends AdminVerifyBaseVo{
    // 商品名称
    @Schema(type = "String", name = "name", description = "商品名称", required = true, defaultValue = "八匹狼")
    private String name;

    // 商品封面
    @Schema(type = "String", name = "cover", description = "商品封面图", required = true, defaultValue = "xxx/xxx.jpg")
    private String coverUrl;

    @Schema(type = "Integer", name = "storeId", description = "店铺id", required = true, defaultValue = "1")
    private Integer storeId;

    // 店铺名称
    @Schema(type = "String", name = "storeName", description = "店铺名称", required = true, defaultValue = "天天旗舰店")
    private String storeName;

    // 品类id
    @Schema(type = "Integer", name = "categoryId", description = "品类id", required = true, defaultValue = "1")
    private Integer categoryId;

    // 品类名称
    @Schema(type = "String", name = "categoryName", description = "品类名称", required = true, defaultValue = "零食")
    private String categoryName;

    // 原价
    @Schema(type = "BigDecimal", name = "oriPrice", description = "原价", required = true, defaultValue = "100")
    private BigDecimal oriPrice;

    // 现价
    @Schema(type = "BigDecimal", name = "price", description = "现价", required = true, defaultValue = "100")
    private BigDecimal price;

    @Schema(type = "Integer", name = "repCount", description = "库存数量", required = true, defaultValue = "100")
    private Integer repCount;

    @Schema(type = "Integer", name = "soldCount", description = "售出数量", required = true, defaultValue = "100")
    private Integer soldCount;

    @Schema(type = "Integer", name = "varSoldCount", description = "售出数量变量", required = true, defaultValue = "100")
    private Integer varSoldCount;

    @Schema(type = "Integer", name = "shelves", description = "上架状态：0下架中，1申请上架，2上架中", required = true, defaultValue = "1")
    private Integer shelves;

}
